<section class="vbox">
      <header class="header bg-success bg-gradient">
      	<button class="btn btn-sm btn-white pull-right" onClick="javascript:location.href='<?php echo SITE_URL ?>/category/add'"> <i class="icon-plus text"></i> <span class="text">Add new</span></button>
        <p>Category</p>
      </header>
      <div class="row">
      	<div class="col-lg-12">
      		<!-- .breadcrumb -->
      		<ul class="breadcrumb"> <li><a href="<?php echo SITE_URL ?>"><i class="icon-home"></i>Home</a></li> <li class="active"><a href="<?php echo SITE_URL ?>/category"><i class="icon-folder-close"></i>Category</a></li>
      		</ul>
      		<!-- / .breadcrumb -->
      	</div>
  		</div>
      <form action="" method="post">
      <section class="panel">
      	<?php if($msg): ?>
      	<div class="alert alert-success" style="margin-bottom:0px;"> <button type="button" class="close" data-dismiss="alert"><i class="icon-remove"></i></button> <i class="icon-ok-sign"></i> <?php echo $msg; ?> </div>
      	<?php endif; ?>
		<div class="table-responsive">
			<table class="table table-striped b-t text-sm">
				<thead>
					<tr>
						<th width="20"><input type="checkbox"></th>
						<th>Category name</th>
						<th>Category order</th>
						<th>Activate</th>
					</tr>
					<?php echo $cateRow; ?>
				</thead>
			</table>
		</div>
		<footer class="panel-footer">
			<div class="row"> <div class="col-sm-4 hidden-xs"> <select class="input-sm form-control input-s-sm inline" name="cmd"> <option value="0">Bulk action</option> <option value="delete">Delete selected</option> <option value="reorder">Re-order</option></select> <button class="btn btn-sm btn-white" type="submit">Apply</button> </div></div>
		</footer>
      </section>
	</form>
</section>